package com.javasm.commons.util;

public interface Constants {
    //token请求头，响应头标识
    String ADMIN_TOKEN="admin_token";
    //验证码有效期：5分钟
    Integer CODE_EXPIRE_TIME=5;

    // redis的key
    //1.临时登录验证码
    String CODE_KEY = "code_key:";
    //2.登录用户信息
    String LOGIN_USER = "login_user:";

    //返回客户端token的key
    String UID = "UID";

    String PRODUCT_EXCEL_TEMPLATE = "mg/productExcelTemplate.xlsx";
    String ORDER_EXCEL_TEMPLATE = "mg/orderExcelTemplate.xlsx";
    String QUERY_ORDER_FILE_NAME = "订单查询.xlsx";
    String ORDER_STATUS = "order_state";
    String DISTRIBUTION = "cnee_deli_way";
    String SALE_ORDER_TYPE = "order_type";
    String SALE_PAY = "cnee_DeliMethod";
    String COMMODITY_ORDER_EXCEL_SHEEL = "订单商品页";
    String Order_EXCEL_SHEEL = "订单页";
    String COMMODITY_EXCEL_SHEEL = "商品页";

    String DRAFT = "草稿";
    String APPROVE_ING = "审批中";
    String APPROVE_SUC = "通过";
    String APPROVE_ERROR = "未通过";

    String SALES_RETURN_PROCESS = "商品退货流程";

    String PAGE_NUM = "pageNum";
    String PAGE_SIZE = "pageSize";
    String ALL_MENU_TREE = "allMenu";

    //已付款	order_status	1
    Integer PAID = 1;

    //待出库	order_status	2
    Integer WAIT_DELIVERY = 2;

    //发货中	order_status	3
    Integer DELIVERY_ING = 3;

    //待签收	order_status	4
    //已签收	order_status	5
    //售后中	order_status	7
    //订单完成 order_status	8
    Integer WAIT_SING_FOR = 4;
    Integer SING_FOR = 5;
    Integer AFTER_SALE = 7;
    Integer ORDER_OVER = 8;
}